package com.ruoyi.mapper;


import com.ruoyi.domain.vo.ActivityListVo;
import com.ruoyi.domain.vo.ActivityPunchingVo;
import com.ruoyi.system.domain.ActivityApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
//import com.ruoyi.domain.vo.PageDTO;
import com.ruoyi.system.domain.Activity;

import java.util.List;

@Mapper
public interface LowCarbonActivityMapper {

    List<ActivityListVo> getActivityList(@Param("userId") Long userId, @Param("offset") Long offset, @Param("pageSize") Long pageSize, @Param("activityName") String activityName);
//    public List<Activity> getActivityList(Activity activity, PageDTO pageDTO);
     List<Activity> getActivityListByOrganization(@Param("organization") String organization, @Param("offset") Long offset, @Param("pageSize") Long pageSize);

    void organizeActivity(ActivityApply activityApply);

    List<Activity> getNoSettleActivityList();

    void settleActivityReward(@Param("activityId") Long activityId);

    void ActivityPunching(ActivityPunchingVo activityPunchingVo);

    void agreeApply(Long activityApplyId);

    void delActivityApply(Long activityApplyId);

    Long getActivityApplyIsDel(Long activityApplyId);

    ActivityPunchingVo getActivityLogs(Long participateId);
//
//     List<Activity> getActivityListLimit();
//
//     List<Activity> getActivityList();
}
